From: Roel Kluin Date: Wed, 18 Nov 2009 22:54:12 +0000 (+0100) Subject: m68k: parport_mfc3 - Not makes it a bool before the comparison. X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~20144^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=49966bae8446f5ba7e8afbd01bde82af4e00628a;p=linux-4.9.git m68k: parport_mfc3 - Not makes it a bool before the comparison. Signed-off-by: Roel Kluin Signed-off-by: Andrew Morton Signed-off-by: Geert Uytterhoeven --- diff --git a/drivers/parport/parport_mfc3.c b/drivers/parport/parport_mfc3.c index 6dec9ba5ed28..362db31d8ca6 100644 --- a/drivers/parport/parport_mfc3.c +++ b/drivers/parport/parport_mfc3.c @@ -386,7 +386,7 @@ static void __exit parport_mfc3_exit(void) if (!this_port[i]) continue; parport_remove_port(this_port[i]); - if (!this_port[i]->irq != PARPORT_IRQ_NONE) { + if (this_port[i]->irq != PARPORT_IRQ_NONE) { if (--use_cnt == 0) free_irq(IRQ_AMIGA_PORTS, &pp_mfc3_ops); }